projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b03d54b
)
gestureswipe: Fix return value
author
Benjamin Otte
<otte@redhat.com>
Sat, 24 May 2014 14:16:41 +0000
(16:16 +0200)
committer
Benjamin Otte
<otte@redhat.com>
Sat, 24 May 2014 14:16:41 +0000
(16:16 +0200)
gtk/gtkgestureswipe.c
patch
|
blob
|
history
diff --git
a/gtk/gtkgestureswipe.c
b/gtk/gtkgestureswipe.c
index 1502f765f836851704e4e75994ce75859c81f09c..211789d2c6b258c3fefc05276e834b7c6c9d70c6 100644
(file)
--- a/
gtk/gtkgestureswipe.c
+++ b/
gtk/gtkgestureswipe.c
@@
-263,7
+263,7
@@
gtk_gesture_swipe_get_velocity (GtkGestureSwipe *gesture,
{
gdouble vel_x, vel_y;
- g_return_val_if_fail (GTK_IS_GESTURE (gesture),
NULL
);
+ g_return_val_if_fail (GTK_IS_GESTURE (gesture),
FALSE
);
if (!gtk_gesture_is_recognized (GTK_GESTURE (gesture)))
return FALSE;